Module for EDI 9.12 | Building Services with EDI Module | Part II WmEDIforTN Package | WmEDIforTN Core Services | Summary of Elements in this Folder | wm.b2b.editn:bizdocToRecord
 
wm.b2b.editn:bizdocToRecord
WmEDIforTN. Returns an IData object that represents the EDI document based on the input BizDocEnvelope.
Input Parameters
bizDoc
Document The BizDocEnvelope for the EDI document.
encoding
String (optional) Converts bytes to a String. If not specified, the service uses the EDIencoding property in the Integration Server_directory\instances\$instance_name\packages\WmEDI\config\properties.cnf file. If the encoding property EDIencoding is not specified, encoding UTF-8 is used.
Output Parameters
boundNode
Document The IData object that represents the EDI document.
transactionName
String The name of the transaction associated with the flat file schema to be copied. For example, 850.
version
String The version of the transaction set's standard that the EDI document uses. For example, 4010 for ANSI X12, or 98A for UN/EDIFACT.
standard
String The name of the EDI standard of the EDI document, e.g., X12, UNEDIFACT.
Note:
The service uses the values for standard, version, and transactionName to locate the flat file schema to use. This service uses the following flat file schema naming convention.
EDIFFSchema.standard.Vversion:Ttransaction
where
*standard represents the EDI standard (e.g., X12).
*version represents the EDI standard version (e.g., 4010).
*transaction represents the EDI transaction (e.g., 850).
For example: EDIFFSchema.X12.V4010:T850
errors
Document List EDI document validation errors that is the output from wm.b2b.edi:convertToValues.